package com.app.module.email;

import java.util.Date;

/**
 * Created by Hendra on 12/31/2014.
 */
public class MailTable {

    private String subject;
    private String body;
    private String sender;
    private Date dateTimeCreated;
    private Date dateTimeReceived;
    private String mailID;
    private Boolean isRead;
    private String emailAddress;

    public MailTable(String mailID, String subject, String body, String sender, Date dateTimeCreated, Date dateTimeReceived, Boolean isRead, String emailAddress) {
        this.subject = subject;
        this.body = body;
        this.sender = sender;
        this.dateTimeCreated = dateTimeCreated;
        this.dateTimeReceived = dateTimeReceived;
        this.mailID = mailID;
        this.isRead = isRead;
        this.emailAddress = emailAddress;
    }

    public MailTable() {

    }

    public String getMailID() {
        return mailID;
    }

    public void setMailID(String mailID) {
        this.mailID = mailID;
    }

    public String getSubject() {
        return subject;
    }

    public void setSubject(String subject) {
        this.subject = subject;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public String getSender() {
        return sender;
    }

    public void setSender(String sender) {
        this.sender = sender;
    }

    public Date getDateTimeCreated() {
        return dateTimeCreated;
    }

    public void setDateTimeCreated(Date dateTimeCreated) {
        this.dateTimeCreated = dateTimeCreated;
    }

    public Date getDateTimeReceived() {
        return dateTimeReceived;
    }

    public void setDateTimeReceived(Date dateTimeReceived) {
        this.dateTimeReceived = dateTimeReceived;
    }

    public Boolean isIsRead() {
        return isRead;
    }

    public void setIsRead(Boolean isRead) {
        this.isRead = isRead;
    }

    public String getEmailAddress() {
        return emailAddress;
    }

    public void setEmailAddress(String emailAddress) {
        this.emailAddress = emailAddress;
    }

}
